Program in Python to display Geometric Progression